﻿using H.Daos;
using H.Daos.Attributes;

namespace HModel
{
    /// <summary>
    /// 表示客户端登录的区服
    /// </summary>
    [Table("client_gameregion")]
    public class GameRegionEntity : AbstractEntity
    {
        /// <summary>
        /// 表示区服的名称
        /// </summary>
        [Column("name")]
        public string Name { get; set; }

        /// <summary>
        /// 表示区服的编号
        /// </summary>
        [Column("code")]
        public int Code { get; set; }

        ///<inheritdoc/>
        public override object Clone()
        {
            return EntityCloner<GameRegionEntity>.Clone(this);
        }
    }
}
